<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="shortcut icon" href=/Frontrock_favicon/favicon.ico type=image/x-icon>
    <meta name=description content="Frontrock is integrating blockchain technologies to allow purchasing real estate properties a seamless experience and make the opportunities available to the world. Frontrock Marketplace, Frontrock DEX and Frontrock Banking together provides a one stop shop for real estate investment.">
    <meta name=viewport content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1">
    <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCL_tt4ZGfeJOyd4SYMr4pSrjbDMJuPp4E&sensor=false"></script>
    <link href=/static/css/app.cffbc038053a4b3a9bc6ec6b6db058f0.css rel=stylesheet>
    <title>Frontrock</title>
    <!-- update the version number as needed -->
    <script defer src="/__/firebase/8.10.0/firebase-app.js"></script>
    <!-- include only the Firebase features as you need -->
    <script defer src="/__/firebase/8.10.0/firebase-auth.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-database.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-firestore.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-functions.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-messaging.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-storage.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-analytics.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-remote-config.js"></script>
    <script defer src="/__/firebase/8.10.0/firebase-performance.js"></script>
    <!-- 
      initialize the SDK after all desired features are loaded, set useEmulator to false
      to avoid connecting the SDK to running emulators.
    -->
    <script defer src="/__/firebase/init.js?useEmulator=true"></script>

  </head>
  <body>
    <div id="message" hidden>
      <h2>Welcome</h2>
      <h1>Firebase Hosting Setup Complete..</h1>
      <p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
      <a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
    </div>
    <p id="load" hidden>Firebase SDK Loading&hellip;</p>
    
    <div id=app></div>

    <script>
      // Your web app's Firebase configuration
      // For Firebase JS SDK v7.20.0 and later, measurementId is optional
      const firebaseConfigs = {
        apiKey: "AIzaSyAKJPJ76Sx3pVq75JvadiVX-rs2WL_aBAs",
        authDomain: "frk-marketplace.firebaseapp.com",
        databaseURL: "https://frk-marketplace-default-rtdb.firebaseio.com",
        projectId: "frk-marketplace",
        storageBucket: "frk-marketplace.appspot.com",
        messagingSenderId: "776382664179",
        appId: "1:776382664179:web:ef19d7762d26af7a2a1686",
        measurementId: "G-FXJTH5CD0B"
      };
      
      document.addEventListener('DOMContentLoaded', function() {
        const loadEl = document.querySelector('#load');
        // // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
        // // The Firebase SDK is initialized and available here!
        //
        // firebase.auth().onAuthStateChanged(user => { });
        // firebase.database().ref('/path/to/ref').on('value', snapshot => { });
        // firebase.firestore().doc('/foo/bar').get().then(() => { });
        // firebase.functions().httpsCallable('yourFunction')().then(() => { });
        // firebase.messaging().requestPermission().then(() => { });
        // firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
        // firebase.analytics(); // call to activate
        // firebase.analytics().logEvent('tutorial_completed');
        // firebase.performance(); // call to activate
        //
        // // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

        try {
          let app = firebase.app();
          let features = [
            'auth', 
            'database', 
            'firestore',
            'functions',
            'messaging', 
            'storage', 
            'analytics', 
            'remoteConfig',
            'performance',
          ].filter(feature => typeof app[feature] === 'function');
          loadEl.textContent = `Firebase SDK loaded with ${features.join(', ')}`;

          // Initialize Firebase
          // firebase.initializeApp(firebaseConfigs);
          // firebase.analytics();
          console.warn('firebase:', firebase)
          console.log(loadEl.textContent)
        } catch (e) {
          console.error(e);
          loadEl.textContent = 'Error loading the Firebase SDK, check the console.';
        }
      });

</script>
<script type=text/javascript src=/static/js/manifest.0904dd4df76ad87a6816.js></script>
<script type=text/javascript src=/static/js/vendor.acf6f3a93e25468edc35.js></script>
<script type=text/javascript src=/static/js/app.c404acc236a184c1f3b7.js></script>
<!-- <script src=https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js></script>
<script src=https://www.gstatic.com/firebasejs/8.10.0/firebase-analytics.js></script>
<script src=https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js></script>
<script src=https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js></script> -->

  </body>
</html>
